const config = {
    debug: false,
    path: '',
    serverUrl: process.env.REACT_APP_ENV.trim() === 'developer' ? '' : '',
    serverUrl2: process.env.REACT_APP_ENV.trim() === 'developer' ? '' : '',
    name: 'xx后台管理系统v1.0',
    formItemLayout: {
        labelCol: {
            xs: {span: 24},
            sm: {span: 4},
            lg: {span: 4},
            xl: {span: 4}
        },
        wrapperCol: {
            xs: {span: 24},
            sm: {span: 20},
            lg: {span: 20},
            xl: {span: 20}
        },
    },
};

// 请求接口地址
const url = {
    login: '/api/user/login',//登录接口
    searchUserList: '/api/user/searchUserList',//管理员列表（查询用户列表）
    updateUser: '/api/user/updateUser',//修改用户
    addUser: '/api/user/addUser',//添加用户
    addRole: '/api/role/addRole',//添加角色
    searchAllRole: '/api/role/searchAllRole',//查询所有角色get
    searchAllAuthInfo: '/api/role/searchAllAuthInfo',//查询所有权限get
    searchRoleDetail: '/api/role/searchRoleDetail',//查询角色详情get 
};

const title = {
    typeDelete: '删除该分类?',
};

export {url as mUrl, config, title as mTitle};
